// JavaScript Document
	var flashvars = "xml_url:xml/xml/config.xml";  
    var params = {  
        menu: "false",  
		wmode:"transparent",
        scale: "noScale",  
        allowFullscreen: "true",  
        allowScriptAccess: "always",  
        bgcolor: "#FFFFFF"  
    };  
    var attributes = {  
        id:"flashArea"  
    }; 	
	swfobject.embedSWF("flash/resume_main.swf ", "flashArea", "100%", "100%", "9.0.0", "expressInstall.swf",flashvars,params,attributes);  

function join()
{
	mopen('fla', {from:'id'})
}
function hold()
{
	window.location.href='Court.html'	
}
function goRule()
{
	window.open('Integral.html')	
}
function resumeCall(_type)
{
	if(_type == "share")
	{
		mopen('fen', {from:'id'},'sharesns')	
	}
	else if (_type == "mycenter")
	{
		window.location.href='Court.html';	
	}
	else
	{
		
		$("#jl").html('<div class="scroll-pane"><img src="images/ji_pic_1.jpg" width="600" height="900" onclick="closeFlash(\'bb\');"/></div><div class="title" style="position:absolute;top:29px; left:885px"><input type="button" class="closePop"  onclick="closeFlash(\'bb\');" /></div>');
		mopen('jl', {from:'id'},'yljl');
		$('.scroll-pane').jScrollPane();
	}
}
function closeFlash(value)
{
	if(value == "aa") 
	{
		
		mclose('','sharesns');
	}
	else if(value == "bb") 
	{
		$("#jl").html('<div class="scroll-pane"><img src="images/ji_pic_1.jpg" width="600" height="900" onclick="closeFlash(\'bb\');"/></div><div class="title" style="position:absolute;top:29px; left:885px"><input type="button" class="closePop"  onclick="closeFlash(\'bb\');" /></div>');
		mclose('','yljl');
	}
	else
	{
		
		mclose();
	}
	
}

function openjl()
{
	$("#jl").html('<div class="scroll-pane"><img src="images/ji_pic_1.jpg" width="600" height="900" onclick="closejl();"/></div><div class="title" style="position:absolute;top:29px; left:885px"><input type="button" class="closePop"  onclick="closejl();" /></div>');
	mopen('jl', {from:'id'},'yljl');
	$('.scroll-pane').jScrollPane();
}

function closejl()
{
	$("#jl").html('<div class="scroll-pane"><img src="images/ji_pic_1.jpg" width="600" height="900" onclick="closeFlash(\'bb\');"/></div><div class="title" style="position:absolute;top:29px; left:885px"><input type="button" class="closePop"  onclick="closeFlash(\'bb\');" /></div>');
	mclose('','yljl');
}
